<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file = "lianjie.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		Object ISBN = session.getAttribute("ISBN");
		request.setCharacterEncoding("utf-8");
		String sql = "delete from booksmassage where ISBN="+ISBN+"";
		int i = stmt.executeUpdate(sql);
		if(i>0){
			out.print("删除成功");
			response.setHeader("Refresh", "1;URL=delete_book.jsp");
		}else{
			out.print("删除失败");
		}
		
	%>
</body>
</html>